"use strict";
exports.__esModule = true;
function func1(a, b) {
    if (b === void 0) { b = 10; }
    var rest = [];
    for (var _i = 2; _i < arguments.length; _i++) {
        rest[_i - 2] = arguments[_i];
    }
    console.log(a, b, rest);
    return 'func1';
}
func1(12, 23, 14, 15, 16, 17);
var nums = [110, 120, 119, 112];
console.log(nums.sort);
function printPost(post) {
    console.log(post.title, post.content);
}
Promise.resolve(12).then(function (result) {
    console.log(result);
});
